package com.etoak.service;

import com.etoak.common.core.UserVo.PageVO;
import com.etoak.entity.Ingredients;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author et2403
 * @since 2024-08-13
 */
public interface IngredientsService extends IService<Ingredients> {

    /**
     * 添加食材
     * @param ingredients
     */
    void add(Ingredients ingredients);

    PageVO<Ingredients> getList(int PageNum, int PageSize, Ingredients ingredients);

    /**
     * 更新食材
     * @param id
     * @param ingredients
     */
    void update(int id, Ingredients ingredients);

    void delete(int id);
}
